package logic

import (
	"context"

	"order_rpc/internal/svc"
	"order_rpc/pb/order"

	"github.com/zeromicro/go-zero/core/logx"
)

type OrderCancelLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewOrderCancelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderCancelLogic {
	return &OrderCancelLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *OrderCancelLogic) OrderCancel(in *order.OrderInfo) (*order.Empty, error) {
	return &order.Empty{}, nil
}
